<!DOCTYPE html >
<html xmlns:th="http://www.thymeleaf.org">
<!-- <head th:include="base :: header (title='派工单')" /> -->
<head>
	<title>派工单</title>
	<link th:href="@{plugins/bootstrap/css/bootstrap.min-3.1.1.css}" rel="stylesheet" />
	<link th:href="@{plugins/common/css/print.css}" rel="stylesheet" />
	<link th:href="@{css/print/dispatchSheet.css}" rel="stylesheet" />
</head>
<body class="blank_bg" style="margin: 20px;">
	<div class="main-content blank_bg" style="">
		<input id="fCardId" hidden="true" th:value="${fCardId}"></input>
		<input id="fDisId" hidden="true" th:value="${fDisId}"></input>
		<input id="type" hidden="true" th:value="${type}"></input>
		<input id="data" hidden="true" th:value="${data}"></input>
		<div class="row" style="margin: 0;width:480px;position:relative;" >
			<table class="firstTable" style="width:480px;" > 
				<tr>
					<td colspan="3" style="height: 80px;">
						<!-- <img th:src="@{images/logo.png}" style="line-height: 80px;height: 40px;"></img> -->
						<div style="text-align: center;">
							<span class="card" style="" id="title"></span>
						</div>
					</td>
					<td style="border-left: 0;width: 120px;padding: 0;" rowspan="3">
						<div id="qrcode" style="margin-left: 5px;margin-top: 2px;"></div>
					</td>
				</tr>
 				<tr>
					<td class="title" style="width: 112px !important;">批次</td>
					<td class="content" colspan="2"><span id="fBatchNo"></span></td>
				</tr>
				<tr>
					<td class="title" style="">生产任务单</td>
					<td class="content" colspan="2"><span id="fBillNo"></span></td>
				</tr>
				<tr>
					<td class="title" style="">派工单号</td>
					<td class="content"><span id="fCode"></span></td>
					<td class="title" style="width: 112px !important;">销售单号</td>
					<td class="content"><span id="fSEOrderNo"></span></td>
				</tr>
				<!-- <tr>
					<td class="title">产品名称</td>
					<td class="content"><span id="fName"></span></td>
				</tr> -->
				<!-- <tr>
					<td class="title">产品代码</td>
					<td class="content" colspan="3"><span id="fNumber"></span></td>
				</tr> -->
				<tr>
					<td class="title">规格型号</td>
					<td class="content" colspan="3"><span id="fModel"></span></td>
				</tr>
				<tr>
					<td class="title">产品代码</td>
					<td class="content" colspan="3"><span id="fNumber"></span></td>
				</tr>
				<tr>
					<td class="title">产品名称</td>
					<td class="content"><span id="fName"></span></td>
					<td class="title">本道工序号</td>
					<td class="content" style=""><span id="fOperSN"></span></td>
				</tr>
				<tr>
					<td class="title" >本道工序</td>
					<td class="content"><span id="fOper"></span></td>
					<td class="title" style="">本道车间</td>
					<td class="content" style=""><span id="fDepName"></span></td>
				</tr>
				<tr>
					<td class="title">本道工序说明</td>
					<td class="content" colspan="3"><span id="fNote"></span></td>
				</tr>
				<tr>
					<td class="title">开工日期</td>
					<td class="content"><span id="fStartTime"></span></td>
					<td class="title">完工日期</td>
					<td class="content"><span id="fEndTime"></span></td>
				</tr>
				<tr class="zjANDqj">
					<td class="" style="text-align: left;" colspan="4">
						<span style="display: inline-block;width: 160px;">自检1-姓名：</span>
						<span class="spanContent">正品：</span>
						<span class="spanContent">次品：</span>
						<span class="spanContent">工废：</span>
						<span class="spanContent">料废：</span>
					</td>
				</tr>
				<tr class="zjANDqj">
					<td class="" style="text-align: left;" colspan="4">
						<span style="display: inline-block;width: 160px;">全检1-姓名：</span>
						<span class="spanContent">正品：</span>
						<span class="spanContent">次品：</span>
						<span class="spanContent">工废：</span>
						<span class="spanContent">料废：</span>
					</td>
				</tr>
				<tr class="zjANDqj">
					<td class="" style="text-align: left;" colspan="4">
						<span style="display: inline-block;width: 160px;">自检2-姓名：</span>
						<span class="spanContent">正品：</span>
						<span class="spanContent">次品：</span>
						<span class="spanContent">工废：</span>
						<span class="spanContent">料废：</span>
					</td>
				</tr>
				<tr class="zjANDqj">
					<td class="" style="text-align: left;" colspan="4">
						<span style="display: inline-block;width: 160px;">全检2-姓名：</span>
						<span class="spanContent">正品：</span>
						<span class="spanContent">次品：</span>
						<span class="spanContent">工废：</span>
						<span class="spanContent">料废：</span>
					</td>
				</tr>
				<tr class="zjANDqj">
					<td class="" style="text-align: left;" colspan="4">
						<span style="display: inline-block;width: 160px;">自检3-姓名：</span>
						<span class="spanContent">正品：</span>
						<span class="spanContent">次品：</span>
						<span class="spanContent">工废：</span>
						<span class="spanContent">料废：</span>
					</td>
				</tr>
				<tr class="zjANDqj">
					<td class="" style="text-align: left;" colspan="4">
						<span style="display: inline-block;width: 160px;">全检3-姓名：</span>
						<span class="spanContent">正品：</span>
						<span class="spanContent">次品：</span>
						<span class="spanContent">工废：</span>
						<span class="spanContent">料废：</span>
					</td>
				</tr>
				<tr>
					<td class="title">设备</td>
					<td class="content" colspan=""><span id="fMacName"></span></td>
					<td class="title">客户型号</td>
					<td class="content"><span id="fCustModel"></span></td>
				</tr>
				<tr>
					<!-- <td class="title">下道工序</td>
					<td class="content"><span id="fNextOper"></span></td>
					<td class="title">下道车间</td>
					<td class="content"><span id="fNextOperWorkShop"></span></td> -->
					<td class="title">上道工序说明</td>
					<td class="content" colspan="3"><span id="fUpOperNote"></span></td>
				</tr>
				<tr>
					<td class="title">下道工序说明</td>
					<td class="content" colspan="3"><span id="fNextOperNote"></span></td>
				</tr>
				<tr>
					<td class="" style="text-align: left;" colspan="4">
						<span style="margin-left: 10px;">加工数量：</span>
						<span id="fTargetQty" style="margin-right: 10px;"></span>
						<span style="">定额：</span>
						<span id="fPieceRate" style="margin-right: 10px;"></span>
						<span style="">定额折扣：</span>
						<span id="fDiscountPieceRate" style="margin-right: 10px;"></span>
						<div class="col-sm-3 col-md-3 bzzy" style="display: inline-block;padding: 0;">
							<span style="">实际需完成数：</span>
							<span id="fDiscountQty"></span>
						</div>
					</td>
				</tr>
				<tr class="bzzy">
					<td class="title" style="">备注</td>
					<td class="content" colspan="3" style="vertical-align: top;"><span id="fIcmoNote"></span></td>
				</tr>
				<tr class="bzzy">
					<td class="title" style="">摘要</td>
					<td class="content" colspan="3" style="vertical-align: top;"><span id="fExplanation"></span></td>
				</tr>
				<tr>
					<td class="title">派工人</td>
					<td class="content"><span id="fBillerName"></span></td>
					<td class="title">派工时间</td>
					<td class="content"><span id="fDate"></span></td>
				</tr>
			</table>
		</div>
	</div>
	<div th:include="base :: bottom" />
	<div th:include="base :: printAndQcode" />
	<script th:src="@{js/print/dispatchSheet.js}"></script>
</body>
</html>
